<script type="text/javascript" src="/template/default/js/utils.js"></script>
<script type="text/javascript" src="/res/js/jquery.cookie.js"></script>
<footer>

    <!--客服-->
    <!--<div class="widget_wrap">
        <ul class="tools_widget_wrap">
            <li id="tools_kfli" class="">
                <a href="http://p.qiao.baidu.com/cps/chat?siteId=11355789&userId=24697079" id="" class="tolls_widget_message"></a>
            </li>
            <li>
                <a href="javascript:;" id="tools_widget_goTop" class="tools_widget_goTop border"></a>
            </li>
        </ul>
    </div>-->


    <!--<div class="footer" >
        <div class="links"  id="ECS_MEMBERZONE">
            <a href="/b/customer/wapLogin?shopId=${shopId!}"><span>登录</span></a>
            <a href="/b/customer/wapRegister?shopId=${shopId!}"><span>注册</span></a>
            <a href="/shop/feedback/add?shopId=${shopId!}"><span>反馈</span></a>
            <a href="javascript:window.scrollTo(0,0);"><span>回顶部</span></a>
        </div>
        <ul class="linkss" >
            <li>
                <a href="#">
                    <i class="footerimg_1"></i>
                    <span >客户端</span></a></li>
            <li>
                <a href="javascript:;"><i class="footerimg_2"></i><span class="gl">触屏版</span></a></li>
            <li><a href="index.php?is_c=1" class="goDesktop"><i class="footerimg_3"></i><span>电脑版</span></a></li></ul>
        <!--<p class="mf_o4">&copy; 2005-2016 ECSHOP开发中心 版权所有，并保留所有权利。</p>&ndash;&gt;
    </div>-->
    <div style="height:50px; line-height:50px; clear:both;"></div>
    <div class="v_nav">
        <div class="vf_nav">
            <ul>
                <li> <a href="/${siteConfig.shopAlias!}/wap.html">
                    <i class="vf_1"></i>
                    <span>首页</span></a>
                </li>
                <!--<li><a href="tel:4000785268">
                    <i class="vf_2"></i>
                    <span>联系我们</span></a>
                </li>-->
                <li><a href="/b/product/goodCategory?shopId=${shopId!}">
                    <i class="vf_3"></i>
                    <span>分类</span></a>
                </li>



                <li><a href="/b/discount?shopId=${shopId!}">
                    <i class="vf_4" style=" width:28px;"></i>
                    <span>特惠专区</span>
<!--                    <em class="global-nav__nav-shop-cart-num" id="ECS_CARTINFO" style=" margin-top:2px; margin-left:-1px;">0</em>-->
                    </a>
                </li>
                <!--<li><a href="/b/cartItem/list?shopId=${shopId!}">
                    <i class="vf_4" style=" width:28px;"></i>
                    <span>购物车</span>
                    <em class="show_cart" id="ECS_CARTINFO" style=" margin-top:2px; margin-left:-1px;">0</em>
                </a>
                </li>-->
                <li><a href="/b/customerCenter?shopId=${shopId!}">
                    <i class="vf_5"></i>
                    <span>我的</span></a>
                </li>
            </ul>
        </div>
    </div>
</footer>
<script type="text/javascript">
    $(function () {
        var cartQuantity=$.cookie("cartQuantity");
        if(!cartQuantity){
            cartQuantity=0;
        }
        $("#ECS_CARTINFO").html(cartQuantity);

        //客服

        $(window).scroll(function () {
            var scrollTop = $(window).scrollTop();
            scrollTop > 50 ? $("#tools_widget_goTop").addClass("view-top") : $("#tools_widget_goTop").removeClass("view-top");
        });

        $('#tools_widget_goTop').click(function (e) {
            e.preventDefault();
            $('html,body').animate({ scrollTop:0});
        });
    })
</script>